﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="PlugNT.App.FileManager.Web.Admin.Pre_FileManager._Edit"  ValidateRequest="false" Codebehind="Edit.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>文件更新</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<script  language="javascript">
    function Post() {
        if (document.form1.filename.value == "") {
            alert("文件名不能为空。");
            document.form1.filename.focus();
            return false;
        }
    }
</script>
</head>
<body>

<div class="frmstatic" style="display:block;">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>应用&nbsp;&gt;&nbsp;文件管理&nbsp;&gt;&nbsp;编辑文件</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href='./Default.aspx'>文件列表</a></label> | </td>
                        <td><label><a href="Default.aspx?path=<%=root %>" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>

<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">
                
               
            <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">

                <tr>
                  <td width="145" align="right" nowrap bgcolor="#F4FBFF">更新文件路径:</td>
                  <td width="1040" bgcolor="#F4FBFF">
                    <%=file %>
                   </td>
                </tr>
                
                <tr>
                  <td width="145" align="right" nowrap bgcolor="#F4FBFF">文件内容:</td>
                  <td width="1040" bgcolor="#F4FBFF">
                    <table width="100%" cellpadding="2" cellspacing="2">
                        <tr>
                            <td><asp:TextBox ID="TextBox_HTML" runat="server" TextMode="MultiLine" Width="100%" Height="550px"></asp:TextBox></td>
                        </tr>
                    </table>
                   </td>
                </tr>
                           
                
                <tr>
                  <td bgcolor="#F4FBFF">&nbsp;</td>
                  <td bgcolor="#F4FBFF">
                      <asp:ImageButton ID="imgBtnUpdate"  runat="server" ImageUrl="../images/edit-bt.gif" onclick="imgBtnUpdate_Click"/>
                  </td>
                </tr>
              </table>
               
               
</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>

</body>
</html>
